import java.util.Scanner

class Player( var name: String, var chess: Chess) {
    fun luozi(){
        println("请输入落下的坐标X")
        val scanner = Scanner(System.`in`)
        val x = scanner.nextInt().toInt()
        chess.station.x=x
        println("请输入落下的坐标Y")
        val y = scanner.nextInt().toInt()
        chess.station.y=y
        scanner.close()

    }
}